package com.swsc.solarverse.service.forward.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.swsc.solarverse.dao.entity.forward.ForwardInverterDataHisDO;
import com.swsc.solarverse.dao.mapper.forward.ForwardInverterDataHisMapper;
import com.swsc.solarverse.model.StationGenerationPowerBO;
import com.swsc.solarverse.service.forward.IForwardInverterDataHisService;
import org.springframework.stereotype.Service;

import java.time.LocalDateTime;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author AutoGenerator
 * @since 2022-08-26
 */
@Service
public class ForwardInverterDataHisServiceImpl extends ServiceImpl<ForwardInverterDataHisMapper, ForwardInverterDataHisDO> implements IForwardInverterDataHisService {

    @Override
    public StationGenerationPowerBO generationPower(Integer tenantNo, Integer organNo, LocalDateTime dataTimeStart, LocalDateTime dataTimeEnd) {
        return baseMapper.generationPower(tenantNo, organNo, dataTimeStart, dataTimeEnd);
    }
}
